pub fn add(left: u64, right: u64) -> u64 {
    left + right
}
pub mod dao;
pub mod database_error;
pub mod model;
pub mod schema;
pub mod until;
#[cfg(test)]
mod tests {
    use diesel::{Connection, MysqlConnection};

    #[test]
    fn it_works() {
        dotenv::dotenv().ok();
        let url = std::env::var("DATABASE_URL").expect("msg");
        let conn = MysqlConnection::establish(&url);
        println!("{}", url);
        match conn {
            Ok(_) => println!("连接成功"),
            Err(e) => println!("{:#?}", e),
        }
    }
}
